<template>
  <el-menu>
      <el-menu-item index="0">
          <router-link to="/user?id=1&name=sanfeng">张三丰</router-link>
      </el-menu-item>
      <el-menu-item index="1">
          <router-link :to="{ path:'/user' , query: { id:2 , name: 'junbao'} }">张君宝</router-link>
      </el-menu-item>
      <el-menu-item index="2">
          <router-link :to="{ name:'user' , params: { id:3 , name: 'guoxiang'} }">郭襄</router-link>
      </el-menu-item>
      <el-menu-item index="3">
          <router-link :to="{ name:'user' , params: { id:4 , name: 'cuishan'} }">张翠山</router-link>
      </el-menu-item>
      <el-menu-item index="4">
          <router-link to="/user/5/susu">殷素素</router-link>
      </el-menu-item>
      <el-menu-item index="5">
          <router-link to="/hello/world">Hello World</router-link>
      </el-menu-item>
  </el-menu>
</template>

<script>
export default {
    name: 'Navigator'
}
</script>

<style>

</style>